import React from 'react';
import './icon.scss';

class Icon extends React.Component {
    render() {
        let className = '';
        if (this.props.className) {
            className = ' ' + this.props.className;
        }
        return <i className={this.props.type + className} style={this.props.style} ></i>
    }
}

export default Icon;